import request from '@/utils/request'

// 查询订单售后申请列表
export function listYZMsales(query) {
  return request({
    url: '/transaction/YZMsales/list',
    method: 'get',
    params: query
  })
}

// 查询订单售后申请详细
export function getYZMsales(id) {
  return request({
    url: '/transaction/YZMsales/' + id,
    method: 'get'
  })
}

// 新增订单售后申请
export function addYZMsales(data) {
  return request({
    url: '/transaction/YZMsales',
    method: 'post',
    data: data
  })
}

// 修改订单售后申请
export function updateYZMsales(data) {
  return request({
    url: '/transaction/YZMsales',
    method: 'put',
    data: data
  })
}

// 删除订单售后申请
export function delYZMsales(id) {
  return request({
    url: '/transaction/YZMsales/' + id,
    method: 'delete'
  })
}



